<!DOCTYPE html>
<script src="../../resources/js-test.js"></script>
<script>
    addEventListener("load", function() {
        shouldBeTrue('document.getElementById("foo").clientWidth==150');
    }, false);
</script>
<div>This test passes if the image below looks like a 2x2 grid (yellow, gray, light green, dark green).</div>
<img id="foo" src="">
